package jflowmap.model.ontology.calculation.expression;

import java.util.Map;

import jflowmap.model.ontology.calculation.Variable;

public class UnaryMinus extends UnaryExpression {

	public UnaryMinus(Expression term) {
		super(term);
	}

	@Override
	public double value(Map<String, Variable> variables) throws VariableMissingException {
		return -term.value(variables);
	}
}
